<?php


namespace app\api\model\ShopGoods;


use think\facade\Db;
use think\Model;

class ShopGoodsAttrModel extends Model
{
    /**
     * 数据表名
     * @var string
     */
    protected $name = "shop_goods_attr";

    /**
     * 根据条件查询多条数据
     * @param $where
     * @return array
     * @throws
     */
    public static function getGoodsAttrWhereMore($where)
    {
        $list = Db::name("shop_goods_attr")->where($where)->select()->toArray();
        return $list;
    }

}
